class Scene2 extends BaseScreen{

    public bg1:eui.Image;
    public bg2:eui.Image;
    public person1:eui.Image;
    public person2:eui.Image;
    public wordGroup:eui.Group;
    public wordBg:eui.Image;
    public word:eui.Image;
    public nextBtn:eui.Image;

	public constructor() {
		super();
		this.skinName = "resource/eui_skins/Scene2Skin.exml";
	}

	protected childrenCreated(): void {
        super.childrenCreated();
        this.initView();
    }

	private initView():void
	{
        if(this.height- 1138<0){
            let scale:number=this.height/1138;
            this.person1.scaleX=scale;
            this.person1.scaleY=scale;
            this.person2.scaleX=scale;
            this.person2.scaleY=scale;
        }
	}

	public resize(): void {
        super.resize();
    }

    public dispose(): void {
        TweenMax.killAll(false, false, true);
        TweenMax.killChildTweensOf(this);
    }
}